// 相册相关类型定义
import type { Photo } from './photo'

/**
 * 相册信息
 */
export interface Album {
  id: number
  name: string
  description?: string
  cover_photo_id?: number
  created_at: string
  updated_at: string
  photo_count?: number
  cover_photo_path?: string
  photos?: Photo[]
}

/**
 * 相册列表响应
 */
export interface AlbumListResponse {
  albums: Album[]
  total: number
  page: number
  limit: number
  totalPages: number
}

/**
 * 相册创建参数
 */
export interface AlbumCreateParams {
  name: string
  description?: string
}

/**
 * 相册更新参数
 */
export interface AlbumUpdateParams {
  name?: string
  description?: string
  cover_photo_id?: number
  [key: string]: any
}